package com.shujia.java.day18.demo3;

public class MyThreadDemo1 extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            //super.getName()和getName() 效果一样
            System.out.println(super.getName()+"---------"+i);
        }
    }
}
